new Vue({
  el: "#main",
  data:{
    tabs:['node学习','webpack学习','angular学习','vue学习','react学习','weex学习','echarts相关','css、字体相关','gis、map相关','flutter相关','其他'],
    dataList:[nodeList,webpackList,angularList,vueList,reactList,weexList,echartsList,iconorcssList,mapList,flutterList,elseList],
    tableList:[]
  },
  methods:{
    tab:function(key){
      $(".tab-title li").removeClass("active");
      $(".tab-title li").eq(key).addClass("active");
      this.tableList = [];
      this.tableList = this.dataList[key];
    }
  },
  mounted:function(){
    this.tableList = this.dataList[0];
  }
})
